html,body{
    font-family: 'Open Sans','Helvetica Neue',Helvetica,'PingFang SC','Hiragino Sans GB','Microsoft YaHei',Arial,sans-serif;
    /*background-color: #0a001f;*/
    background-color: #f9fafb;
    overflow-x: hidden ;
    height: 100%;
}


body{
    /*padding-top: 60px;*/
    /*background-image: url("../img/bg.png");*/
}

h1,h2,h3,h4,h5,h6,ul,li,p{
    background-color: transparent;
}

input,textarea{
    max-width: 350px;
}


.col-md-a{
    width: 100%;
    margin-bottom: 50px;
    padding:0 20px;
    overflow: hidden;
}

.col-md-h{
    width: 50%;
    margin-bottom: 50px;
    padding:0 20px;
    overflow: hidden;
}

@media screen and (max-width: 768px) {
    .col-md-h{
        width: 100%;
    }
}

.animation-canvas{
    position:absolute;
    top:0;
    left:0;
    width: 100%;
    height: 100%;
}

.article-list-wrapper {
    display: flex;
    /*justify-content: space-around;*/
    /*align-items: center;*/
}

.article-logo-container{
    font-size:100px;
    margin-right:5%;
}
.article-list-container{
    margin-top: 40px;
    width: 100%;
    min-width: 300px;
}

.recommendation-container{
    padding:1%;
}
.recommendation{
    background-color: white;
    border:1px solid #d6d6e4;
    border-radius:4px;
    padding: 20px 10px;
    height: 300px;
    /*background: #eee;*/
    display: flex!important;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    transition: all .35s linear;
}

.recommendation:hover{
    transform: scale(1.05);
    border-color: #0c79bc;
}

.recommendation:hover h4{
    color: #0c79bc;
}

.recommendation:hover .btn{
    background-color: #0c79bc;
    color: white;
}

.recommendation .btn{
    width: 40%;
    /*letter-spacing: 5px;*/
}

.content{
    margin: 30px 0;
    word-break: break-all;
    /*max-height: 100px;*/
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: small;
}


.breadcrumb{
    background-color: #f9fafb;
    font-weight: bold;
    color: #707070;
}

.flex-container{
    display: flex;
    align-items: center;
    justify-content: space-between;
}



.dropdown ul{
    background-color: white;
}

.form-group{
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
}

.form-group label{
    color: #7c7c7c;
    width: 100px;
    padding:0 10px 0 0;
}

/******** nav-bar **********/
.page-header{
    margin:0;
}

.navbar-default{
    margin-bottom: 0;
    background-color: #0c79bc;
    border-color: transparent;
    border-radius: 0!important;
    width: 100%;
}


.nav-fixed{
    position: fixed;
    top:0;
    left:0;
    width: calc(100% - 16px);
    min-height: 0;
    z-index: 9999;
    overflow: hidden;
    transition: height .35s linear;
}

.nav-fixed .navbar-brand{
    height: 35px;
    margin-top: 0;
}
.nav-fixed .navbar-brand,
.nav-fixed .navbar-nav > li > a{
    padding: 10px 15px;
}
.nav-fixed .navbar-nav > li > a > i{
    display: none;
}

.container-fluid{
    padding-left: 0;
    padding-right: 0;
}
.navbar-default .container-fluid {
    display: flex;
    justify-content: space-between;
}

.container-fluid .navbar-nav{
    display: flex;
    align-items: center;
}

.navbar-default .navbar-nav > li{
    float: none;
    white-space: nowrap;
}

.navbar-default .navbar-nav > li > a {
    color: white;
    text-align: center;
}
.navbar-default .navbar-nav > li > a > i{
    transform: scale(1);
    transition: transform .35s linear;
}
.navbar-default .navbar-nav > li > a > span {
    display: block;
    /*display: none;*/
}

.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
    color: white;
    background-color: #0071aa;
}

.navbar-header{
    width: 10%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.navbar-brand{
    font-size: 28px;
    font-weight: bold;
    margin-top: 8px;
    text-align: center;
}
.navbar-brand > span:nth-child(1){
    color: white;
}

.navbar-brand > span:nth-child(2){
    color: #ffa73f;
}

.navbar-left{
    width: 75%;
    overflow: hidden;
}

.navbar-right{
    width: 15%;
}

.navbar-right > li >a{
    padding: 5px 10px;
    background-color: transparent !important;
}


.navbar-right > .open > a,
.navbar-right > .open > a:hover,
.navbar-right > .open > a:focus,
.navbar-right > .active > a,
.navbar-right > .active > a:hover,
.navbar-right > li > a:hover,
.navbar-right > li > a:focus{
    color:#ddd!important;
}

.navbar-right > li:nth-child(1)>a{
    /*border-right: 1px solid white;*/
}


.page-top{
    position: relative;
    padding:70px 20px;
    background: #0c79bc;
    /*background-image: url("../img/bg.png");*/
    /*background: url("../img/jumbotron.png") no-repeat;*/
    /*background: rgba();*/
    color:white;
    border-radius: 0!important;
}



/******** footer **********/
footer {
    background: #333;
    color: #eee;
    font-size: 11px;
    padding: 20px;
}

footer ul{
    padding-left:0;
}

footer ul>li {
    list-style: none;
    padding: 0;
}

footer ul>li>a{
    font-size: 15px;
    line-height:27px;
    color: #aaa;
}

footer p{
    color: #aaa;
}

footer ul>li>a:hover{
    color: white;
}

footer ul>li>a>span{
    font-size: 14px!important;
    display: inline-block;
    margin-right: 5px;
}

footer h4{
    border-bottom: 1px dashed #666;
    padding-bottom:8px;
    position: relative;
}

footer h4:after{
    content: '';
    position: absolute;
    bottom:-1px;
    left:0;
    height: 1px;
    width: 80px;
    background-color: #0c79bc;

}

/******** index-wrapper **********/

.index-wrapper{
    margin: 0 5%;
}
.page-header{
    color: #333;
    border-bottom: 1px solid #aaa;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.page-header>h4{
    font-weight: bold;
    position: relative;
    font-size: 30px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    white-space: nowrap;
}


.page-header .pull-right{
    font-size: medium;
}

/*.page-header>h4:after{*/
    /*content: '';*/
    /*position: absolute;*/
    /*bottom:-11px;*/
    /*left:0;*/
    /*height: 2px;*/
    /*width: 100%;*/
    /*background-color: #0c79bc;*/
/*}*/

.text-primary{
    /*line-height: 35px;*/
    color: #666;
    position: relative;
    /*font-size: 18px;*/
}

/*.text-primary:before{*/
    /*content:'·';*/
    /*position: absolute;*/
    /*left:-15px;*/
    /*color:#10acdb;*/
    /*font-size: xx-large;*/
/*}*/

.text-primary:hover{
    color: #10acdb !important;
}

.index-wrapper .list-group{
    /*height: 280px;*/
    overflow: hidden;
}

/*.index-wrapper .list-group> .list-group-item{*/
.list-group> .list-group-item{
    border: none;
    padding-top: 0;
    padding-bottom: 0;
    /*line-height: 35px;*/
    margin: 10px 0;
    background-color: transparent;
    word-break:break-all;
}

.index-wrapper .pull-right small>.text-primary{
    padding-right: 5px;
    /*border-right: 1px solid #666;*/
    line-height: normal;
}

.index-wrapper .pull-right small>.text-primary:before{
    content: '';
}

.index-wrapper .pull-right small:nth-last-child(1)>.text-primary{
    border-right: none;
}

.index-wrapper .label-wrapper{
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.tag{
    display: inline-block;
    /*padding: 5px;*/
    /*background-color: #eee;*/
    color: #f8f8f8!important;
    line-height: inherit;
    margin:1px;
    padding:0 4px;
    border-radius: 5px;
    border: 1px solid transparent;
    transition: all .35s linear;
    background-color: rgba(230,126,34,.7);
    /*text-transform: uppercase;*/
    cursor:pointer;
    font-size: 12px!important;
}

.tag:hover{
    text-decoration: underline;
    color: #f8f8f8;
}

.tag .badge{
    background-color: transparent;
    padding:0 2px;
    color:inherit;
    font-weight: bold;
}

.index-wrapper .form-inline{
    display: flex;
    height: 48px;
    align-items: stretch;
    margin-bottom:20px;
    white: 100%;
}
.index-wrapper .form-inline textarea{
    resize:none;
    border-radius: 2px 0 0 2px;
    overflow: hidden;
    width: 100%;
}

.index-wrapper .form-inline button{
    border-radius: 0 2px 2px 0!important;
}

.index-wrapper .list-group-item-text{
    /*line-height: 35px;*/
}

.tease-container{
    margin-top: 15px;
    padding-top: 20px;
}

.tease-container .list-group{
    border-top: 1px solid #aaa;
}

.tease-container .list-group .list-group-item{
    /*border-bottom: 1px solid #e7eaf2;*/
    padding: 5px 0;
}


/******** register & login **********/
.page-register,
.page-login{
    margin: 50px auto;
}

.page-register button,
.page-login button{
    letter-spacing: 5px;
    text-align: center;
    width: 300px;
}


.page-register .header,
.page-login .header{
    padding-left: 70px;
    text-align: center;
}

.page-register .form-control,
.page-login .form-control{
    border-color: #e3e4e6;
    box-shadow: none;
    width: 300px;
}



.page-register .navbar-brand,
.page-login .navbar-brand{
    float: none;
}

.page-register .header>span,
.page-login .header>span{
    display: inline-block;
    margin-bottom: 10px;
    color: #707070;
    font-weight: bold;
    /*font-size: large;*/
}


.page-register .form-group p {
    width: 300px;
    display: flex;
    align-items: center;
    color: #707070;
    margin-bottom: 0;
    /*text-align: left;*/
}

.page-register input[type="checkbox"]{
    margin-top: 0;
}


/******** domain **********/
.page-domain{
    padding: 50px 5%;
    width: 80%;
    margin: 0 auto;
}

.page-domain .nav li a{
    display: block;
    padding: 11px 20px;
    border-bottom: none;
    color: #242628;
    text-transform: uppercase;
}


.page-domain .media-list{
    padding: 40px 10%;
    background-color: white;
    border: 1px solid #ddd;
    border-top:1px solid transparent;
    border-radius: 1px 1px 0 0;
}

.page-domain .media{
    /*margin: 40px 0;*/
    margin-top: 40px;
    display: flex;
}

.page-domain .media-heading{
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.page-domain .media-body{
    border-bottom: 1px dashed rgb(208, 226, 234);
    padding-bottom: 40px;
}


.page-domain .media-heading>a{
    color: #242628;
    font-size: 30px;
    text-decoration: none;
    transition: color .3s linear;
}

.page-domain .media-heading>a:hover{
    color: #0c79bc;
}

.page-domain p{
    /*margin-bottom: 0;*/
}

.page-domain .section{
    display: flex;
    justify-content: space-between;
}

.author,
.time{
    color: #9eabb3;
    font-size: small;
}

.reading,
.comment{
    font-weight: bold;
    font-size: 16px;
}

.summary{
    font-size: small;
}

.page-domain .share{
    color: #7f7f7f;
}

.page-domain .content{
    font-size: 16px;
    max-height: none;
}
.page-domain .share>span{
    display: inline-block;
    padding: 0 3px;
    background-color: #ddd;
    color: white;
    border-radius: 20%;
    margin: 0 2px;
    cursor:pointer;
}


.page-domain .jumbotron{
    width: 100%;
    background-color: #5a326f;
    background-image: url("../img/bg.png");
    text-align: right;
    color: white;
    font-size: 80px;
    font-weight: bold;
    padding: 20px 40px;
    height: 250px;
}

/******** article **********/
.page-article{
    margin: 50px auto;
    padding: 50px 10%;
    width: 80%;
    border: 1px solid #e2edf2;
    border-radius: 5px;
    background-color: white;

}

.page-article .form-group{
    width: 100%;
    margin-left:0;
    margin-right:0;
    justify-content: flex-start;
}

.page-article .form-group label{
    width: auto;
    color: black;
    white-space: nowrap;

}

.page-article #editormd-view{

}

.page-article #sidebar .markdown-body{
    background-color: transparent;
    padding:0;
}

.page-article #sidebar ul{
    list-style: none;
    /*padding-left: 10px;*/
}
.page-article #sidebar .markdown-toc-list a{
    color: #767676;
    text-decoration: none;
    padding: 4px 20px;
    line-height: 28px;
    border-left: 2px solid transparent;
    transition: all .35s linear;
}
.page-article #sidebar .markdown-toc-list a:hover{
    color: #0c79bc;
    border-left: 2px solid #0c79bc;
}

.page-article .page-header .title{
    font-size: 30px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.page-article .header-sub{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin:20px 0;
}

.page-article .header-sub>p{
    /*width: 100%;*/
    /*margin: 10px 0;*/
}

.comment-tag{
    font-size: small;
    border:1px solid rgb(204, 204, 204);
    padding:2px 4px;
    border-radius: 3px;
    cursor: pointer;
    background-image: linear-gradient(rgb(255, 255, 255), rgb(222, 222, 222));
    box-shadow: none;
}

.comment-tag i{
    font-size: xx-small;
    display: inline-block;
    margin-right: 2px;
}

.store{
    color:rgb(7, 149, 210);
}

.prise{
    color:#f26722;
}

.criticize{
    color:#ee4256;
}


/******** page-tag **********/

.page-article-editor .page-header{
    margin-bottom: 30px;
}

.page-article-editor .dl-horizontal dt{
    color: #555;
}

/*.page-article-editor .checkbox{*/
    /*padding-left: 20px;*/
/*}*/

/*.page-article-editor .checkbox label{*/
    /*font-weight: bold;*/
/*}*/



/******** page-tag **********/

.page-tag .media-list{
    border-top: 1px solid #ddd;
}

/******** page-mylayout **********/

.page-mylayout{
    display: flex;
    min-height: 100%;
    /*margin-top: 8px;*/
}

.nav-vertical{
    width: 185px;
    background-color: #f9fafb;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-right: 1px solid #e3e4e6;
}

.nav-vertical .header{
    margin: 50px auto;
}

.nav-vertical .nav{
    /*width: 100%;*/
    /*padding: 10px;*/
    /*margin: 0 auto;*/
}

.nav-vertical .nav> li{
    padding:10px;
}
.nav-vertical .nav> li> a{
    color: #707070;
    font-weight: bold;
    border-radius: 0;
    border-left: 2px solid transparent;
    padding:0 15px;
    transition: all .35s linear;
    display: flex;
    align-items: stretch;
    white-space: nowrap;
}

.nav-vertical .nav> li> a>i{
    font-size: large;
}

.nav-vertical .nav > li > a:hover,
.nav-vertical .nav > li > a:focus,
.nav-vertical .nav > .active > a,
.nav-vertical .nav > .active > a:hover{
    color: #0c79bc;
    background-color: transparent;
    border-left: 2px solid #0c79bc;
}

.setting-content{
    width: 100%;
    background-color: white;
    /*height: 100%;*/
    /*overflow: auto;*/
}
.setting-content .form-group .btn{
    /*width: 100%;*/
}


.setting-content table{
    width: 80%;
    margin: 10px 10%;
    overflow: auto;
}
.setting-content h3{
    padding: 10px 10%;
    display: flex;
    align-items: center;
}

.setting-content .flex-container>.badge{
    display: inline-block;
    margin-left: 5px;
    background-color: rgba(230,126,34,.7);
}

.setting-content table th{
    white-space: nowrap;
}

.setting-content .form-group{
    justify-content: flex-start;
}


